package com.hzit.security.service.impl;

import com.hzit.security.entity.User;
import com.hzit.security.mapper.UserMapper;
import com.hzit.security.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements IUserService {
	@Autowired
	private UserMapper userMapper;
	@Override
	public List<User> list() {
		return userMapper.selectAll();
	}
}
